import request from '@/utils/request'

export function FlopData(query) {
  return request({
    url: '/ddtj/dashboard/get_flopdata',
    method: 'post',
    data: query,
    headers: {
      repeatSubmit: false
    }
  })
}

export function BoardData(query) {
  return request({
    url: '/ddtj/dashboard/get_boarddata',
    method: 'post',
    data: query,
    headers: {
      repeatSubmit: false
    }
  })
}

export function AgeData(query) {
  return request({
    url: '/ddtj/dashboard/get_agedata',
    method: 'post',
    data: query,
    headers: {
      repeatSubmit: false
    }
  })
}

export function XbData(query) {
  return request({
    url: '/ddtj/dashboard/get_xbdata',
    method: 'post',
    data: query,
    headers: {
      repeatSubmit: false
    }
  })
}

export function DjData(query) {
  return request({
    url: '/ddtj/dashboard/get_djdata',
    method: 'post',
    data: query,
    headers: {
      repeatSubmit: false
    }
  })
}

export function CardData(query) {
  return request({
    url: '/ddtj/dashboard/get_carddata',
    method: 'post',
    data: query,
    headers: {
      repeatSubmit: false
    }
  })
}
